package cn.iocoder.yudao.server.config;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 配置feign、mybatis包名、properties
 *
 */
@Configuration
@ComponentScan(basePackages = {"cn.six1943.deepchat"})
@MapperScan(value = "cn.six1943.deepchat", annotationClass = Mapper.class,
        lazyInitialization = "${mybatis.lazy-initialization:false}") // Mapper 懒加载，目前仅用于单元测试
public class DeepchatConfiguration {

}
